@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  color: #f1f1f1!important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

ul {
  margin: 0;
}

ul, ol {
  list-style-type: none;
}

html {
  height: 100%;
  font-size: 14px;
  box-sizing: border-box;
  @media screen and (min-width: 1400px) {
    font-size: 16px;
  }
  @media screen and (min-width: 2200px) {
    font-size: 18px;
  }
  @media screen and (min-width: 3500px) {
    font-size: 20px;
  }
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.h-full {
  height: 100%;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.mt-50{
  margin-top: 40px;
}
//main-container全局样式
.app-main {
  position: absolute;
  //overflow: hidden;
  left: 6px;
  bottom: 8px;
  right: 6px;
  top: 7rem;
}

.app-container {
  padding: 0 0 0 15px;
  height: 100%;
  position: relative;
  &:before{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 20px;
    left: 30px;
    height: 32px;
  }
}


.demo-img {
  display: block;
  max-width: 100%;
}

.navbar {
  .el-cascader__label {
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
    text-align: right;
    padding-right: 3rem;
    span {
      color: #fff;
    }
  }
  .el-input__inner, .el-input.is-disabled .el-input__inner {
    height: 2rem;
    line-height: 1rem;
    padding: .5rem;

  }
  .show .el-input__inner {
    height: 2.6rem;
    padding: .8rem;
  }
  .el-input__icon {
    line-height: normal;
  }
}
.el-input__icon.el-icon-date {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pageNav {
  width: 220px;
  height: 100%;
  color: #0b5790;
  position: relative;
  border: rgba(255, 255, 255, 0.05) 1px solid;
  background: rgba(11, 87, 144,.6);
  .el-submenu.is-active{
    background: transparent!important;
    box-shadow: none!important;
  }
  transition: width .28s;
  &.hide {
    width: 44px;
    .pageNav-out {
      margin: 0 -8px;
    }
  }
  .el-menu-item{
     &.is-active,&:hover{
       background: rgba(0,0,0,.2)!important;
     }
   }

  .pageNav-bar{
    height: 100%;
    width: 100%;
    overflow: hidden;
    .el-menu {
      border-right: none;
    }
    .pageNav-out {
      width: 280px;
      height: 100%;
      overflow-y: auto;
      .pageNav-inner {
        width: 220px;
      }
    }
  }
}


.echarts-item {
  height: 100%;
  .echarts-title{
    text-align: center;
    font-size: 1.3rem;
    height: 2.6rem;
    line-height: 1.8rem;
  }
}

.dataPage-box{
    margin: 35px 5px 35px 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 0 12px 15px;
    border: 2px solid rgba(0, 0, 0, 0.4);
}
